home *** CD-ROM | disk | FTP | other *** search
- /*
- * xph.h
- *
- * Practical Algorithms for Image Analysis
- *
- * Copyright (c) 1997, 1998, 1999 MLMSoftwareGroup, LLC
- */
-
- #include <stdio.h>
- #include <stdlib.h>
- #include <math.h>
- #include <malloc.h>
-
- #include "ip.h"
-
- #define N_VERTEX 46L /* number of distinct curv pts */
- #define X_ORG 500
- #define Y_ORG 140
- #define N_MOM 15
-
- #define SQ2 1.414213562
-
- #define NA_MAX 128 /* max no allowed vertices in ph.c */
-
- #define ON 1
- #define OFF 0
- #undef ECHO_INPUT
-
- #define DISPL_PAGE 1
- #define RESET ON
- #define EVAL_MOM ON
-
- #define DEBUG
- #undef DBG_MEM
-
- /*
- * Function prototypes
- */
- extern int main (int, char **);
- extern void usage (char *);
- Matrix *readFilter (char *);
- Matrix *genGaussFilter (char *filterLenStr);
-